package com.qijian.business.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import lombok.ToString;

import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;

/**
 * 缺陷对象 fm_defect
 *
 * @author ruoyi
 * @date 2021-08-19
 */
@Data
@ToString
@TableName("fm_defect")
public class Defect extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 唯一id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 编码
     */
    @Excel(name = "编码")
    private String code;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 类型
     */
    @Excel(name = "类型")
    private String type;

    /**
     * 分类
     */
    @Excel(name = "分类")
    private String classify;

    /**
     * 工序id
     */
    @Excel(name = "工序id")
    private Long processId;

    @Excel(name = "备注")
    private String remark;

}
